package com.rm.zeyou.exception;

import lombok.Getter;

/**
 * @author ZhangKeChen
 * @date 2022/8/11
 */
@Getter
public enum ErrorCodeExceptionEnum {
    //
    SYSTEM_ERROR("000000", "系统异常"),
    PARAM_ERROR("000001", "参数异常"),
    ALGORITHM_FORMAT_ERROR("000002", "算法传递类型异常"),
    ALGORITHM_PARAM_ERROR("000003", "算法传递参数异常"),
    GEO_PAY_TYPE_ERROR("000004", "高德支付类型异常" ),
    PHONE_NUMBER_NULL("000005", "手机号为空"),
    WX_H5_CONFIG_ERROR("000006","配置错误" ),
    ABNORMAL_OPERATION("000007", "操作失败"),
    PAY_TYPE_ERROR("000008", "支付类型异常"),
    ALIPAY_PRODUCT_ERROR("000009", "商品名称、商户订单号、商品价格不能为空！"),
    ALIPAY_RETURN_URL_NULL("000010", "电脑网站支付的跳转地址（returnUrl）不能为空！"),
    ALIPAY_RETURN_AND_QUIT_URL_NULL("000011", "手机网站支付的失败退出地址（quitUrl）、成功跳转地址（returnUrl）不能为空！"),
    ALIPAY_TYPE_ERROR("000012", "输入的支付类型不在许可支付类型范围内。许可类型：当面付（FACE），电脑网站支付（H5），手机网站支付（WAP），APP支付（APP）"),
    ALIPAY_ERROR("000013", "支付宝支付异常"),
    ALIPAY_QUERY_ERROR("000014", "查询支付宝支付订单异常"),
    ALIPAY_REFUND_ERROR("000015", "支付宝退款异常"),
    ALIPAY_QUERY_REFUND_ERROR("000016", "查询支付宝退款异常"),
    ALIPAY_DOWNLOAD_ORDER_ERROR("000017", "支付宝下载对账单异常"),
    REQUEST_MUCH("000018", "请求太快"),
    PHONE_NUMBER_ERROR("000019", "手机号格式错误"),
    USER_LOGIN_ERROR("000020", "请重新登录"),
    PASS_ERROR("000021", "密码错误"),
    ADDRESS_ERROR("000023", "地址异常" ),
    TECHNICIAN_EMPTY("000024", "技师不存在" ),
    BACK_ERROR("000025", "银行卡信息错误" ),
    BACK_IS_EXIST("000026", "该张银行卡已绑定，请勿重复添加" ),
    CODE_EMPTY("000027", "请填写验证码" ),
    REDIS_CODE_EMPTY("000028", "验证码已过期" ),
    CODE_ERROR("000029", "验证码错误" ),
    PHONE_NUMBER_EMPTY("000029", "请填写手机号" ),
    INVITATED_CODE_ERROR("000030", "邀请码错误" ),
    WX_LOGIN_ERROR("000031", "微信登录异常" ),
    USER_COUPON_IS_RECEIVE("000032", "已领取该优惠券"),
    USER_RECEIVE_ERROR("000033", "领取失败"),
    ITEM_EMPTY("000034", "服务项目不存在"),
    TECHNICIAN_AGE_ERROR("000035", "技师年龄异常"),
    LIMIT_COUPONCONFIG_EMPTY("000036", "限时优惠券不存在"),
    LIMIT_COUPONMATCHESCONFIG_EMPTY("000037", "限时优惠券场次不存在"),
    LIMIT_COUPONMATCHESCONFIG_STATUS_ERROR("000038", "该场次暂未开枪"),
    RECEIVED_LIMIT_COUPONCONFIG("000039", "已领取该优惠券"),
    AUDITING("000040", "后台审核中或已申请成功，请勿重复提交"),
    CREATE_ORDER_FAIL("000041", "订单创建失败"),
    MEMBER_CONFIG_ERROR("000042", "会员异常"),
    VERIFY_ERROR("000043", "通知验签失败"),
    ORDER_EMPTY("000044", "订单不存在"),
    PAY_PRICE_ERROR("000045", "支付金额异常"),
    TECHNICIAN_NOT_ONLINE("000046", "该技师暂未上线"),
    USER_TECHNICIAN_ONE("000047", "用户和技师不能为同一人"),
    SERVICE_TIME_ERROR("000048", "当前时间已被占用"),
    ORDER_IS_PAY("000049", "订单已支付"),
    BALANCE_NOT_ENOUGH("000050", "余额不足"),
    CANT_CANCEL_ORDER("000051", "该状态无法取消"),
    CANT_CANCEL_APPRAISE("000052", "该状态无法评价"),
    PASSWORD_INCONSISTENCY("000053", "密码不一致"),
    PASSWORD_LENGTH_ERROR("000054", "密码为6位"),
    LIFE_PHOTO_AUDITING("000055", "生活照正在审核中，请勿重复提交"),
    AVATAR_AUDITING("000056", "头像正在审核中，请勿重复提交"),
    SERVICE_TIME_EMPTY("000057", "时间不存在"),
    CANT_TAKE_ORDER("000058", "该状态无法接单"),
    CANT_LEAVE("000059", "该状态无法出发"),
    CANT_ARRIVAL("000060", "该状态无法到达"),
    CANT_START("000061", "该状态无法开始服务"),
    CANT_END("000062", "该状态无法结束服务"),
    CANT_APPRAISE("000063", "该状态无法评价"),
    ORDER_OVERTIME("000064", "订单已超时，无法接单"),
    ARRIVAL_ORDER_OVERTIME("000065", "等待时间未到，无法取消"),
    CANT_UPGRADE("000066", "该状态无法升级套餐"),
    NOT_PAY_ORDER("000067", "有未支付的订单，请联系客户"),
    SERVICE_TIME_NOTFINISH("000068", "该服务暂未完成"),
    CANT_BELL("000069", "该状态无法加钟"),
    REFUND_ERROR("000070", "退款失败"),
    IS_BIND_PARTNER("000071", "已绑定上级"),
    PARTNER_EMPTY("000072", "上级不存在"),
    NOT_SALESMAN("000073", "暂不是业务员"),
    CANT_CANCEL_CONFIRMED("000074", "该状态无法确认结束服务"),
    NOT_CHANNEL("000075", "暂不是渠道商"),
    SERVICE_TIME_NOT_USE("000076", "当前时间不可用，请选择之后的时间"),
    NOT_BROKER("000077", "暂不是经纪人"),
    IS_SALESMAN("000078", "已成为业务员，无法申请渠道商"),
    IS_CHANNEL("000079", "已成为渠道商，无法申请业务员"),
    PAYOUT_WAY_EMPTY("000080", "请选择提现类型"),
    USER_BACK_EMPTY("000081", "请选择提现银行卡"),
    PAYOUT_MIN_PRICE("000082", "提现金额不能小于%s"),
    PAYOUT_MAX_PRICE("000083", "提现金额不能大于%s"),
    PAYOUT_PRICE_ENOUGH("000084", "提现金额不足"),
    PAYOUT_ERROR("000085", "提现失败"),
    NAME_ERROR("000086", "请输入2-16为中英文或数字"),
    NOT_BIND_WX("000087", "请先绑定微信"),
    LOCATION_ERROR("000088", "定位失败"),
    ZFB_COUNT_EMPTY("000089", "请添加支付宝账户"),
    TIME_LATER("000090", "请选择当前时间30分钟之后的时间"),
    DELETE_ERROR("000091", "删除失败"),
    NOT_TAKE_ORDER("000092", "已有正在服务订单,无法接单"),
    TEL_IS_BING("000093", "该手机号已绑定，请更换手机号"),
    WX_IS_BIND("000094", "该微信已绑定，请更换微信"),
    COUPON_EMPTY_RECEIVE("000095", "该优惠券已领完"),
    CANCEL_FAIL("000096", "订单取消失败"),
    BACK_NUMBER_ERROR("000097", "请输入有效银行卡"),
    ZFB_COUNT_TRL_EXIST("000098", "已添加该账号"),




















    ;
    /**
     * 异常码
     */
    String code;
    /**
     * 异常信息
     */
    String msg;

    ErrorCodeExceptionEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
